/**
 * @author 王晓伟
 * @description 扩展了一个checkGroup组件。
 */
Ext.ux.CheckboxGroup = Ext.extend(Ext.form.CheckboxGroup,{
	store:'',
	checkboxname:'',
	name:'',
	initComponent:function(){
		this.id = this.checkboxname;
		Ext.ux.CheckboxGroup.superclass.initComponent.call(this);
		this.on('render',function(_p){
			$('#'+this.id).bind('click',{components:this},function(event){
					
					event.data.components.fireEvent('designSelected',event.data.components);
			});
		});
	}
	
});

Ext.reg('uxcheckboxgroup',Ext.ux.CheckboxGroup);